<template>
  <div>
    <el-form label-width="5rem">
      <el-form-item>
        <div class="title">本步骤可通过召开会议的方式完成</div>
      </el-form-item>
      <el-form-item label="会议类型">
        <ConferType :type="data.bindConference" />
      </el-form-item>
      <el-form-item label="发言类型">
        <ConferRecordContentType
          v-for="i in data.bindRecords.split('##').map(i=>Number(i))"
          :key="i"
          :type="i"
        />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'BindConference',
  components: {
    ConferType: () => import('@/components/Party/ConferType'),
    ConferRecordContentType: () =>
      import('@/components/Party/ConferRecordContentType')
  },
  props: {
    data: { type: Object, required: true }
  }
}
</script>
<style lang="scss" scoped>
.title {
  font-size: 2rem;
  color: #64dd17;
}
</style>
